Page({
  data:{
   id:'',
   licensePlate:'',
   truckType:'',
   picture:'/static/编组.png',
   allowableLoad:''
  },
  onLoad(){
 this.getCar()
  },
  async getCar(){
    const {allowableLoad,picture,truckType,licensePlate,id} = await wx.$http.get('/driver/users/truck')
    // console.log(allowableLoad,picture,truckType,licensePlate,id);
    this.setData({allowableLoad,picture:this.data.picture,truckType,licensePlate,id})
  }
})